package com.examp.shardingSphere.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * @author liu
 * @TableName user
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class User extends Model<User> implements Serializable {

    /**
     * 主键
     */
    private Integer id;
    /**
     * 昵称
     */
    private String nickname;
    /**
     * 密码
     */
    private String password;
    /**
     * 性
     */
    private Integer sex;
    /**
     * 生日
     */
    private Date birthday;

}
